﻿using DotNet.DevOps.Tasks.Util;

namespace DotNet.DevOps.Tasks.AssemblyInfo.Updaters.VersionUpdaters
{
    internal class VersionUpdater : BaseVersionUpdater
    {
        public VersionUpdater(AssemblyInfo asm, ILog logger)
            : base(asm, "AssemblyVersion",logger)
        {
        }

        protected override bool ShouldAutoIncrementLastVersionNumber()
        {
            return asm.AutoIncrementLastVersionNumber;
        }
    }
}
